import request from "@/utils/request.js"

const API = {
    LOGIN_URL: '/auth/login',//登录
    IMGCODE_URL:'/auth/code',//获取图形验证码
    SMSCODE_URL:'/init/user/smscode/login',//获取短信验证码
    LGOUT_URL:"/init/user/lgout",//退出登录
    AUTHORITY_URL:'/api/rights/list',//权限管理
    MINEMODIFY_URL:'/api/user/modify',//个人中心修改
}
export const login = values => request.post(API.LOGIN_URL, values);
export const queryImgCode = values => request.post(API.IMGCODE_URL, values);
export const getSmscode = values => request.post(API.SMSCODE_URL, values);
export const lgout=values => request.post(API.LGOUT_URL, values);
export const authorityManagement=values => request.post(API.AUTHORITY_URL, values);
export const changeMineModify=values => request.post(API.MINEMODIFY_URL, values);




